#ifndef DXSPRITE_H
#define DXSPRITE_H

#include "DXEngine.h"

class DXSprite
{
	public:
		DXSprite (void);
		DXSprite (LPDIRECT3DDEVICE9 RenderDevice, LPD3DXSPRITE SpriteDevice, LPCWSTR File, D3DXVECTOR3 Pos);
		~DXSprite (void);

		BOOL LoadSprite (LPDIRECT3DDEVICE9 RenderDevice, LPCWSTR File);
		void SetSpriteDevice (LPD3DXSPRITE SpriteDevice);
		void SetPosition (D3DXVECTOR3 & Pos);
		void Draw (void);
		
	private:
		LPD3DXSPRITE Device;
		LPDIRECT3DTEXTURE9 Sprite;
		D3DXVECTOR3 Position;
};

#endif